package com.ithuang.websocket.config;

import com.ithuang.websocket.dao.saveMessageDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class saveMessageServiceImp implements  saveMessageService{
    @Autowired
    saveMessageDao saveMessageDao;
    @Override
    public void saveMessage(String n,String t) {
        System.out.print("sssssssssssssssssssssssss");
        saveMessageDao.saveMessage(n,t);
    }
}
